package com.cdyx.outsideprescription.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Value;
import lombok.experimental.Accessors;
import net.bytebuddy.implementation.bind.annotation.Default;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiang dongqiong
 * @since 2021-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TbAddprecription implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("appCode")
    private String appCode;

    @TableField("visitNo")
    private String visitNo;

    @TableField("patientNO")
    private String patientNO;

    @TableField("visitType")
    private String visitType;

    @TableField("cardNo")
    private String cardNo;

    @TableField("siCardNo")
    private String siCardNo;

    @TableField("insuranceType")
    private String insuranceType;

    @TableField("medicalType")
    private String medicalType;

    @TableField("hospitalCode")
    private String hospitalCode;

    @TableField("hospitalName")
    private String hospitalName;

    @TableField("medicalDeptCode")
    private String medicalDeptCode;

    @TableField("medicalDeptName")
    private String medicalDeptName;

    @TableField("visitName")
    private String visitName;

    @TableField("visitCredentialType")
    private String visitCredentialType;

    @TableField("visitCredentialNum")
    private String visitCredentialNum;

    @TableField("doctorCredentialType")
    private String doctorCredentialType;

    @TableField("doctorCredentialNum")
    private String doctorCredentialNum;

    @TableField("doctorPhone")
    private String doctorPhone;

    @TableField("doctorCode")
    private String doctorCode;

    @TableField("doctorName")
    private String doctorName;

    @TableField("areaCode")
    private String areaCode;

    @TableField("areaName")
    private String areaName;
    @TableId(value = "snowId",type = IdType.NONE)
    @TableField("snowId")
    private Long snowId;
    @TableField("upload_sign")
    private int uploadSign;


}
